﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Microsoft.Msagl.Drawing;

namespace ebc.viz.frontend.tests
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var g1 = new Graph("graph 1");
            g1.AddEdge("A", "e", "X");
            g1.AddEdge("A", "f", "graph 2");

            var g2 = new Graph("graph 2");
            g2.AddEdge("X", "e", "A");
            g2.AddEdge("Y", "f", "graph 1");

            var f = new WinViewer();
            f.DisplayGraphs(new[] {g1, g2});

            Application.Run(f);
        }
    }
}
